
@(message: String,status:Seq[(Int,String)])(implicit request: RequestHeader,messagesProvider: MessagesProvider,session:Session)
@import views.html.admin._
@import helper._
@main(message ) {
<div class="layui-border-box">
    @CSRF.formField
    <div class="layui-row layui-col-space2">

        <form class="layui-form" action="">

            <input type="text" name="op" value="list" hidden>
            <div class="layui-col-md3">
                <label class="layui-form-label">名字</label>
                <div class="layui-input-block ">
                    <input type="text" name="name" value='' class="layui-input" >
                </div>
            </div>
            <div class="layui-col-md3">
                <label class="layui-form-label">手机</label>
                <div class="layui-input-block ">
                    <input type="text" name="mobile" value='' class="layui-input" >
                </div>
            </div>
            <div class="layui-col-md3">
                <label class="layui-form-label">状态</label>
                <div class="layui-input-block">
                    <select name="status" lay-verify="required">
                        <option value="-1">全部</option>
                        @for(s<-status){
                        <option value=@s._1>@s._2</option>
                        }
                    </select>
                </div>
            </div>

            <div class="layui-col-md3">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-submit lay-filter="jsonFormSubmit">立即提交</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
            </div>
        </form>
    </div>
    <table id="demoTable" lay-filter="test"></table>

</div>

}